package de.mfits.fireflyplayer;

import static de.mfits.fireflyplayer.storage.DbHelper.ALBUM;
import android.os.Bundle;
import de.mfits.fireflyplayer.storage.DbHelper;

public class BrowseAlbumSongsActivity extends BrowseSongsActivity {
  private static final String SELECTION = ALBUM + "=?";

  public BrowseAlbumSongsActivity() {
    super(SELECTION);
  }

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String album = getIntent().getStringExtra(DbHelper.ALBUM);
    setTitle(album);
    setSelectionArgs(new String[] { album });
  }

}
